package com.shengdong.water.code.adapter

import com.shengdong.water.R
import com.shengdong.water.code.base.BaseRecyclerAdapter
import com.shengdong.water.code.bean.Outlet
import com.shengdong.water.databinding.ItemSearchOutletBinding

class SearchAdapter : BaseRecyclerAdapter<Outlet, ItemSearchOutletBinding>() {
    override fun getLayoutId() = R.layout.item_search_outlet

    override fun bindData(binding: ItemSearchOutletBinding, item: Outlet, position: Int) {
        super.bindData(binding, item, position)
        binding.item = item
        binding.executePendingBindings()
    }
}